package mac.types.interfacePedlInstr;
import java.util.*;

public class LocalClassVar extends ClassVar {
  public String getClassName() {
    return hd(hd(name));
  }
  public String getMethodName() {
    return tl(hd(name)).substring(0, tl(hd(name)).indexOf('('));
  }
  public String[] getParameterTypes() {
    String[] types;
    StringTokenizer s;

    s = new StringTokenizer(name.substring(name.indexOf('(')+1, name.indexOf(')')), ",");
    types = new String[s.countTokens()];
    for( int i = 0; s.hasMoreTokens(); i++ ) 
      types[i] = s.nextToken();
    return types;
  }
}
